home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / serial / callback.001 / callback~ / callback / lib / mem / mem.h next >
C/C++ Source or Header  |  1996-07-17  |  402b  |  17 lines

  1. #ifndef _mem_H_
  2. #define _mem_H_
  3.  
  4. #include <stdio.h>
  5. #include <string.h>        
  6. #include <stdlib.h>
  7.  
  8. #include "../error/error.h"
  9.  
  10. /* mem-functions: */
  11.  
  12. void        *xmalloc(unsigned size);                /* protected malloc() */
  13. void        *xstrdup(char *s);                      /* protected strdup () */
  14. void        *xrealloc(void *mem, unsigned size);    /* protected realloc() */
  15.  
  16. #endif  _mem_H_
  17.